package cn.hfjava.kz.mapper;

import cn.hfjava.kz.entity.po.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author lds
* @description 针对表【roles(角色表)】的数据库操作Mapper
* @createDate 2024-07-23 09:51:13
* @Entity cn.hfjava.kz.entity.po.Role
*/
public interface RoleMapper extends BaseMapper<Role> {
    //通过角色id得到角色
    Role getRoleById(@Param("roleId") int roleId);

      Role  getRoleById(Integer roleId);
}




